﻿IF EXISTS (SELECT * FROM sysobjects WHERE type = 'P' AND name = 'GetDetalleSubastaByIdSubasta')
	BEGIN
		DROP  Procedure  GetDetalleSubastaByIdSubasta
	END

GO

CREATE Procedure GetDetalleSubastaByIdSubasta

	(
		@idSubasta int
	)

AS

BEGIN
	SET NOCOUNT ON
	
	SELECT
	[Cantidad],
	[Estado],
	[IdBien],
	[IdSubasta],
	[MontoInicial]
FROM [DetalleSubasta] 

	SET NOCOUNT OFF
END

GO


GRANT EXEC ON GetDetalleSubastaByIdSubasta TO PUBLIC

GO


